Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  List  Access  Control  Entries  

 Content of List Access Control Entries.vbs
MD5 Hash: 58B8C0D507C8FB89D49A6DED117B6D39
' Description: Lists IIS access control entries.


strComputer = "."
Set objWMIService = GetObject _
("winmgmts:{authenticationLevel=pktPrivacy}\\" _
& strComputer & "\root\microsoftiisv2")

Set colItems = objWMIService.ExecQuery("Select * from IIsACE")

For Each objItem in colItems
Wscript.Echo "Access Mask: " & objItem.AccessMask
Wscript.Echo "Ace Flags: " & objItem.AceFlags
Wscript.Echo "Ace Type: " & objItem.AceType
Wscript.Echo "Flags: " & objItem.Flags
Wscript.Echo "Inherited Object Type: " & _
objItem.InheritedObjectType
Wscript.Echo "Name: " & objItem.Name
Wscript.Echo "Object Type: " & objItem.ObjectType
Wscript.Echo "Trustee: " & objItem.Trustee
Next

   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a